package cn.com.xiaoshoujia.user.entity;

import java.util.Date;

/**
 * @Author: yangrui
 * @Description: 参团
 * @Date: 下午4:15 2017/7/27
 */
public class ActivityJoin {
    private Long id; //bigint(20) NOT NULL,
    private String sysId; //varchar(50) NOT NULL DEFAULT '',
    private Long headId; //bigint(20) NOT NULL DEFAULT '-1',
    private Long fkActivitiesId; //bigint(20) NOT NULL DEFAULT '-1',
    private Integer type; //int(2) NOT NULL DEFAULT '0' COMMENT '0 团员，1 团长',
    private Date createTime; //datetime DEFAULT NULL,
    private String orderId;

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getSysId() {
        return sysId;
    }

    public void setSysId(String sysId) {
        this.sysId = sysId;
    }

    public Long getHeadId() {
        return headId;
    }

    public void setHeadId(Long headId) {
        this.headId = headId;
    }

    public Long getFkActivitiesId() {
        return fkActivitiesId;
    }

    public void setFkActivitiesId(Long fkActivitiesId) {
        this.fkActivitiesId = fkActivitiesId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return "ActivityJoin{" +
                "id=" + id +
                ", sysId='" + sysId + '\'' +
                ", headId=" + headId +
                ", fkActivitiesId=" + fkActivitiesId +
                ", type=" + type +
                ", createTime=" + createTime +
                '}';
    }

    public ActivityJoin() {
    }

    public ActivityJoin(String sysId, Long headId, Long fkActivitiesId, Integer type, Date createTime,String orderId) {
        this.sysId = sysId;
        this.headId = headId;
        this.fkActivitiesId = fkActivitiesId;
        this.type = type;
        this.createTime = createTime;
        this.orderId = orderId;
    }
}
